﻿<?xml version="1.0"?>
<configurations>
  <config name="PServiceBus.MessageBusHost" description="Service Bus Hosting" dependon="PSB.Redis Server">
    <loggerConfig type="PServiceBus.Core.Logger.TextLogger"
                     errorLogPath="C:/servicebus.messagebushost.errorLog.txt"
                     logPath="C:/servicebus.messagebushost.log.txt"
                     tracePath="C:/servicebus.messagebushost.trace.txt"
                     enabled="true"/>
    <componentContainerConfig batchSize="1000"
                 interval="500"
                 address="endpoint://guest:guest@localhost:6379/"
                 addressID=""/>
    <componentConfig type="PServiceBus.Core.Components.MessageBusHost"
              assembly="PServiceBus.Core"
              name="PServiceBus.MessageBusHost" />
  </config>
  <config name="PServiceBus.MessageDistributor" description="Service Bus Distributor" dependon="PSB.Redis Server">
    <loggerConfig type="PServiceBus.Core.Logger.TextLogger"
                     errorLogPath="C:/servicebus.messagedistributor.errorLog.txt"
                     logPath="C:/servicebus.messagedistributor.log.txt"
                     tracePath="C:/servicebus.messagedistributor.trace.txt"
                     enabled="true"/>
    <componentContainerConfig batchSize="1000"
                 interval="5"
                 address="endpoint://guest:guest@localhost:6384/"
                 addressID="d1"/>
    <componentConfig type="PServiceBus.Core.Components.MessageDistributor"
              assembly="PServiceBus.Core"
              name="PServiceBus.MessageDistributor" />
  </config>
  <config name="PServiceBus.MessageStore" description="Log incoming messages to the configured data stores" dependon="PSB.Redis Server">
    <loggerConfig type="PServiceBus.Core.Logger.TextLogger"
                     errorLogPath="C:/servicebus.messagestore.errorLog.txt"
                     logPath="C:/servicebus.messagestore.log.txt"
                     tracePath="C:/servicebus.messagestore.trace.txt"
                     enabled="true"/>
    <componentContainerConfig batchSize="100"
                 interval="500"
                 address="endpoint://guest:guest@localhost:6383/"
                 addressID=""/>
    <componentConfig type="PServiceBus.Core.Components.MessageStore"
              assembly="PServiceBus.Core"
              name="PServiceBus.MessageStore" />
  </config>
  <config name="PServiceBus.MessageRedispatcher" description="Service Bus Message Redispatcher" dependon="PSB.Redis Server">
    <loggerConfig type="PServiceBus.Core.Logger.TextLogger"
                         errorLogPath="C:/servicebus.messageredispatcher.errorLog.txt"
                         logPath="C:/servicebus.messageredispatcher.log.txt"
                         tracePath="C:/servicebus.messageredispatcher.trace.txt"
                         enabled="true"/>
    <componentContainerConfig batchSize="1000"
                 interval="3000"
                 address="endpoint://guest:guest@localhost:6382/"
                 addressID=""/>
    <componentConfig type="PServiceBus.Core.Components.MessageRedispatcher"
                  assembly="PServiceBus.Core"
                  name="PServiceBus.MessageRedispatcher" />
  </config>
  <config name="PServiceBus.MessageDispatcher" description="Service Bus Message Dispatcher" dependon="PSB.Redis Server">
    <loggerConfig type="PServiceBus.Core.Logger.TextLogger"
                         errorLogPath="C:/servicebus.messagedispatcher.errorLog.txt"
                         logPath="C:/servicebus.messagedispatcher.log.txt"
                         tracePath="C:/servicebus.messagedispatcher.trace.txt"
                         enabled="true"/>
    <componentContainerConfig batchSize="1000"
                 interval="5"
                 address="endpoint://guest:guest@localhost:6381/"
                 addressID="p1"/>
    <componentConfig type="PServiceBus.Core.Components.MessageDispatcher"
                  assembly="PServiceBus.Core"
                  name="PServiceBus.MessageDispatcher" />
  </config>
  <config name="PServiceBus.MessageDispatcher2" description="Service Bus Message Dispatcher" dependon="PSB.Redis Server">
    <loggerConfig type="PServiceBus.Core.Logger.TextLogger"
                         errorLogPath="C:/servicebus.messagedispatcher2.errorLog.txt"
                         logPath="C:/servicebus.messagedispatcher2.log.txt"
                         tracePath="C:/servicebus.messagedispatcher2.trace.txt"
                         enabled="true"/>
    <componentContainerConfig batchSize="1000"
                 interval="5"
                 address="endpoint://guest:guest@localhost:6381/"
                 addressID="p2"/>
    <componentConfig type="PServiceBus.Core.Components.MessageDispatcher"
                  assembly="PServiceBus.Core"
                  name="PServiceBus.MessageDispatcher2" />
  </config>
  <config name="PServiceBus.Resequencer" description="Service Bus Message Resequencer" dependon="PSB.Redis Server">
    <loggerConfig type="PServiceBus.Core.Logger.TextLogger"
                         errorLogPath="C:/servicebus.resequencer.errorLog.txt"
                         logPath="C:/servicebus.resequencer.log.txt"
                         tracePath="C:/servicebus.resequencer.trace.txt"
                         enabled="true"/>
    <componentContainerConfig batchSize="1000"
                 interval="5"
                 address="endpoint://guest:guest@localhost:6385/"
                 addressID=""/>
    <componentConfig type="PServiceBus.Core.Components.MessageResequencer"
                  assembly="PServiceBus.Core"
                  name="PServiceBus.Resequencer" />
  </config>
  <config name="PServiceBus.ServiceMonitor" description="Monitors all service bus services and start each services when they are shutdown" dependon="PSB.Redis Server">
    <loggerConfig type="PServiceBus.Core.Logger.TextLogger"
                         errorLogPath="C:/servicebus.servicemonitor.errorLog.txt"
                         logPath="C:/servicebus.servicemonitor.log.txt"
                         tracePath="C:/servicebus.servicemonitor.trace.txt"
                         enabled="true"/>
    <componentContainerConfig batchSize="1000"
                 interval="5000"
                 address="endpoint://guest:guest@localhost:6379/"
                 addressID=""/>
    <componentConfig type="PServiceBus.Core.Components.ServiceMonitor"
                  assembly="PServiceBus.Core"
                  name="PServiceBus.ServiceMonitor" />
  </config>
</configurations>